package IoC;

public class Bottom {
    private Tire tire;
    public Bottom(int size){
        tire = new Tire(size);
    }
    public void init(){
        System.out.println("构建底盘");
        //依赖轮胎

        tire.init();
    }
}
